home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / num_pes.z / num_pes
Encoding:
Text File  |  2002-10-03  |  1.9 KB  |  54 lines

  1. NUM_PES(3I)                                           Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      __nnuumm__ppeess, NNUUMM__PPEESS - Returns the number of processing elements (PEs)
  6.      running in an application
  7.  
  8. SSYYNNOOPPSSIISS
  9.      C or C++:
  10.  
  11.      ##iinncclluuddee <<iinnttrriinnssiiccss..hh>>
  12.      iinntt __nnuumm__ppeess ((vvooiidd));;
  13.  
  14.      Fortran:
  15.  
  16.      II == NNUUMM__PPEESS(())
  17.  
  18. IIMMPPLLEEMMEENNTTAATTIIOONN
  19.      C/C++:  UNICOS and UNICOS/mk
  20.  
  21.      Fortran:  UNICOS, UNICOS/mk, and IRIX systems
  22.  
  23.      Cray C/C++, CF90, MIPSpro 7 Fortran 90
  24.  
  25. SSTTAANNDDAARRDDSS
  26.      C/C++ extension
  27.  
  28.      Fortran extension
  29.  
  30. DDEESSCCRRIIPPTTIIOONN
  31.      The nnuumm__ppeess function returns the number of PEs running in an
  32.      application.
  33.  
  34. CC//CC++++ NNOOTTEESS
  35.      The __nnuumm__ppeess intrinsic function is evaluated at run-time and cannot be
  36.      used in constant expressions.
  37.  
  38.      Because __nnuumm__ppeess is an intrinsic function, no externally visible
  39.      library function is available for it.  The compiler generates inline
  40.      code to produce the result.
  41.  
  42. SSEEEE AALLSSOO
  43.      iinnttrroo__sshhmmeemm(3), mmyy__ppee(3I), ssttaarrtt__ppeess(3)
  44.  
  45.      A complete list of C/C++ intrinsic functions available on UNICOS and
  46.      UNICOS/mk systems is in the _C_r_a_y _C/_C++ _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
  47.  
  48.      _M_e_s_s_a_g_e _P_a_s_s_i_n_g _T_o_o_l_k_i_t: _P_V_M _P_r_o_g_r_a_m_m_e_r'_s _M_a_n_u_a_l
  49.  
  50.      _M_e_s_s_a_g_e _P_a_s_s_i_n_g _T_o_o_l_k_i_t: _M_P_I _P_r_o_g_r_a_m_m_e_r'_s _M_a_n_u_a_l
  51.  
  52.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  53.      man page.
  54.